package com.ruoyi.common.datapermission.rule.impl;

import cn.hutool.core.collection.CollectionUtil;
import com.mybatisflex.core.query.QueryTable;
import com.mybatisflex.core.query.QueryWrapper;
import com.mybatisflex.core.table.TableInfo;

import java.util.List;

/**
 * 部门数据权限实现类
 */
public class DeptDataPermissionRuleImpl extends AbstractDataPermissionRuleImpl {
    @Override
    public void dealDataPermissionSQL(QueryWrapper queryWrapper, List<QueryTable> queryTables) {
        if (CollectionUtil.isEmpty(queryTables)) {
            return;
        }
    }

    @Override
    public void dealDataPermissionSQL(String schema, String tableName, StringBuilder sql) {

    }

    @Override
    public void dealDataPermissionSQL(TableInfo tableInfo, StringBuilder sql) {

    }

    @Override
    public String authType() {
        return "deptAuth";
    }
}
